package cn.zte.com.train.hiber8train;

import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

public class UserSvc implements IUserSvc {
    public UsersDAO usersDao;
    @Transactional(propagation = Propagation.NOT_SUPPORTED, readOnly = false)
	public int insertUser(Users user) {
		return usersDao.insertUser(user);
	}
	public UsersDAO getUsersDao() {
		return usersDao;
	}
	public void setUsersDao(UsersDAO usersDao) {
		this.usersDao = usersDao;
	}
    
}
